package com.bytz.modules.cms.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bytz.modules.cms.product.entity.ProductPackDetail;
import com.bytz.modules.cms.product.model.ProductPackDetailModel;

import java.util.List;

/**
 * <p>
 * 莱宝CMS—产品管理—产品打包详情关联表 服务类
 * </p>
 *
 * @author KyleWang
 * @since 2022-10-10
 */
public interface IAdminProductPackDetailService extends IService<ProductPackDetail> {

    /**
     * 根据packageId获取
     */
    List<ProductPackDetailModel> getByPackId(String packId);

    /**
     * 根据packageId批量删除
     */
    void removeByPackId(String id);
}
